<?php

class Event_CategoryFilterPostSelect extends Crud_Event_Handler
{
	protected $_type = 'postSelect';

	/**
	 * Run handler with options array.
	 *
	 * @param Db_Select $row
	 * @return void
	 */
	public function run($select)
	{

			$select->distinct();
			$select->group('category_id');
	}
}

